package com.mhkj.base.itemInfo.building.service;

import java.util.List;

import com.mhkj.base.itemInfo.building.entity.Building;
import com.mics.core.common.componet.Pagination;
import com.mics.core.system.base.service.BaseService;

public interface BuildingService extends BaseService<Building> {

	/**
	 * 分页查询
	 */
	Pagination<Building> listByPage(Building Building, int pageIndex, int size);

	/**
	 * 根据条件查询楼栋
	 * 
	 * @param cityId
	 * @param itemName
	 * @param provinceId
	 * @return
	 */
	List<Building> findByCidOrItemName(Long cityId, String itemName, Long provinceId);

	/**
	 * 通过期区id查询楼栋
	 */
	List<Building> findBuildByPhaseId(Long phaseId);

}
